const useToolsData = defineStore('tools-data', {
    state: () => ({
        batchGoodsInbound: [],
        batchGoodsOutbound: [],
        batchInventoryCount: [],
        isHandleInbound: false,
        isHandleOutbound: false,
        isHandleInventoryCount: false,
    }),
    actions: {
        updateBatchGoodsInbound(data) {
            this.batchGoodsInbound = data;
        },
        updateBatchGoodsOutbound(data) {
            this.batchGoodsOutbound = data;
        },
        updateBatchInventoryCount(data) {
            this.batchInventoryCount = data;
        },
        updateIsHandleInbound(data) {
            this.isHandleInbound = data;
        },
        updateIsHandleOutbound(data) {
            this.isHandleOutbound = data;
        },
        updateIsHandleInventoryCount(data) {
            this.isHandleInventoryCount = data;
        }
    }
});
export default useToolsData